package com.tinyspot.concrete.feign.service;

import org.springframework.stereotype.Component;

/**
 * @author Tinyspot
 * @date 2022-12-24 21:24
 */
// 回调类
@Component
public class AdminServiceHystrix implements AdminService {
    @Override
    public String invoke(String message) {
        return String.format("your message is %s, but request error", message);
    }
}
